package com.hydl.power.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

import java.io.Serializable;
import java.util.Date;
@ExcelTarget("identical")
public class Identical implements Serializable {
    private Integer id;
    @Excel(name = "设备id",orderNum = "0",isImportField = "moduleId")
    private Integer moduleId;
    @Excel(name = "设备名称",orderNum = "1",isImportField = "moduleName")
    private String moduleName;
    private String moduleAddress;

    private String coStrcName;
    private String coName;
    @Excel(name = "本期(kWh)",orderNum = "5",isImportField = "curValue")
    private Integer curValue;
    @Excel(name = "上期(kWh)",orderNum = "6",isImportField = "upValue")
    private Integer upValue;
    @Excel(name = "同比%",orderNum = "7",isImportField = "percent")
    private String percent;
    private Date tagTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName == null ? null : moduleName.trim();
    }

    public String getModuleAddress() {
        return moduleAddress;
    }

    public void setModuleAddress(String moduleAddress) {
        this.moduleAddress = moduleAddress == null ? null : moduleAddress.trim();
    }

    public String getCoStrcName() {
        return coStrcName;
    }

    public void setCoStrcName(String coStrcName) {
        this.coStrcName = coStrcName == null ? null : coStrcName.trim();
    }

    public String getCoName() {
        return coName;
    }

    public void setCoName(String coName) {
        this.coName = coName == null ? null : coName.trim();
    }

    public Integer getCurValue() {
        return curValue;
    }

    public void setCurValue(Integer curValue) {
        this.curValue = curValue;
    }

    public Integer getUpValue() {
        return upValue;
    }

    public void setUpValue(Integer upValue) {
        this.upValue = upValue;
    }

    public String getPercent() {
        return percent;
    }

    public void setPercent(String percent) {
        this.percent = percent == null ? null : percent.trim();
    }

    public Date getTagTime() {
        return tagTime;
    }

    public void setTagTime(Date tagTime) {
        this.tagTime = tagTime;
    }

    @Override
    public String toString() {
        return "Identical{" +
                "id=" + id +
                ", moduleId=" + moduleId +
                ", moduleName='" + moduleName + '\'' +
                ", moduleAddress='" + moduleAddress + '\'' +
                ", coStrcName='" + coStrcName + '\'' +
                ", coName='" + coName + '\'' +
                ", curValue=" + curValue +
                ", upValue=" + upValue +
                ", percent='" + percent + '\'' +
                ", tagTime=" + tagTime +
                '}';
    }
}